﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sigecov.Formularios
{
    public partial class FrmPesquisa : Form
    {
        public FrmPesquisa()
        {
            InitializeComponent();
        }

        private void dgvDadosPesquisa_CellClick(object sender, DataGridViewCellEventArgs e)
        {
        }

        private void dgvDadosPesquisa_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            FrmPedido._valorPesquisa = dgvDadosPesquisa.CurrentRow.Cells[1].Value.ToString();
            FrmPedido._codigoPesquisa = dgvDadosPesquisa.CurrentRow.Cells[0].Value.ToString();
            Close();
        }

        private void dgvDadosPesquisa_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }
    }
}
